<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<?php
require_once '../../model/dbconnection.php';
?>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<script src="../JS/jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
	<script src="../JS/bootstrap.min.js" type="text/javascript"></script>
	
	<link rel="stylesheet" type=s"text/css" href="../css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="../css/ddbox.css">

        <title></title>
    </head>
    <body id="body_page">
	<div class="layout">
	    <div id="header">
	    </div>
	    <div class="cDivContentWrapper">
		<div class="side_bar" class="">
		    <ul class="list_box">

			<li class="lnk" id="first_lnk"><a href="#">Vehicles<i class="icon-chevron-right ico_arrow"></i></a></li>
			<li class="lnk"><a href="#">Electronics<i class="icon-chevron-right ico_arrow"></i></a></li>
			<li class="lnk"><a href="#">Home and Decor<i class="icon-chevron-right ico_arrow"></i></a></li>
			<li class="lnk"><a href="#">Leisure Sport And Hobby<i class="icon-chevron-right ico_arrow"></i></a></li>
			<li class="lnk"><a href="#">Property<i class="icon-chevron-right ico_arrow"></i></a></li>
			<li class="lnk"><a href="#">Education<i class="icon-chevron-right ico_arrow"></i></a></li>
			<li class="lnk"><a href="#">Jobs<i class="icon-chevron-right ico_arrow"></i></a></li>
			<li class="lnk"><a href="#">Animals<i class="icon-chevron-right ico_arrow"></i></a></li>
			<li class="lnk"><a href="#">Other<i class="icon-chevron-right ico_arrow"></i></a></li>

		    </ul>
		</div>

		<div id="cassie_ar" class="">
		    <?php
		    $sql = "SELECT * from other";
		    $result = mysql_query($sql, $oDb);

		    while ($row = mysql_fetch_object($result)) {

			echo '<div class="cDivItem">';


			echo '<div class="cDivItemDescription">' . $row->Description . "</div>";
//			echo '<div class="cDivItemContact_tel">' . $row->Phonenumber . "</div>";
//			echo '<div class="cDivItemContact_adre">' . $row->mailaddress . "</div>";
//			echo strlen($row->Description);

//		    echo '<div class="cDivItemContact_adre">' . $row->mailaddress . "</div>";
			echo '<div class="btn_add">' . $row->Date . "</div>";
//			echo '<div class="ask_li">'. ."</div>";

			echo '</div>';
		    }

		    mysql_close($oDb);
		    ?>
		</div>

					<div class="cDivSideBarRight"></div>
	    </div>

	    <div id="footer">footer</div>

	</div>
    </div>
</body>
</html>
